package com.xmx.promotioncenter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.Transactional;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.xmx.promotioncenter","com.xmx.common.config"})
@Transactional
public class PromotionCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(PromotionCenterApplication.class, args);
    }

}
